package com.diligreat.domain;

import java.util.ArrayList;
import java.util.List;

public class Lang {

	private long id;
	private long under_id;
	private String name;
	private String fl;
	
	private List<Content> top;
	private List<Content> bottom;
	
	private List<Content> consultatinglist;
	private List<Content> techlist;
	private List<Content> arrangementlist;
	private List<Content> industrylist;
	
	//用于存放搜索资源
	private List<Selection> flist;
	private List<Selection> clist;
	private List<Selection> plist;
	
	private List<Lang> underlist;
	
	
	private List<Content> morecontact;
	
	//网站整体语言的对应模型
	private Langmodel langmodel;
	
	
	public List<Content> getConsultatinglist() {
		return consultatinglist;
	}
	public void setConsultatinglist(List<Content> consultatinglist) {
		this.consultatinglist = consultatinglist;
	}
	public List<Content> getTechlist() {
		return techlist;
	}
	public void setTechlist(List<Content> techlist) {
		this.techlist = techlist;
	}
	public List<Content> getArrangementlist() {
		return arrangementlist;
	}
	public void setArrangementlist(List<Content> arrangementlist) {
		this.arrangementlist = arrangementlist;
	}
	public List<Content> getIndustrylist() {
		return industrylist;
	}
	public void setIndustrylist(List<Content> industrylist) {
		this.industrylist = industrylist;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUnder_id() {
		return under_id;
	}
	public void setUnder_id(long under_id) {
		this.under_id = under_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFl() {
		return fl;
	}
	public void setFl(String fl) {
		this.fl = fl;
	}
	public List<Lang> getUnderlist() {
		if(this.underlist==null)
		{
			return new ArrayList<Lang>();
		}
		return underlist;
	}
	public void setUnderlist(List<Lang> underlist) {
		this.underlist = underlist;
	}
	public List<Content> getTop() {
		return top;
	}
	public void setTop(List<Content> top) {
		this.top = top;
	}
	public List<Content> getBottom() {
		return bottom;
	}
	public void setBottom(List<Content> bottom) {
		this.bottom = bottom;
	}
	public List<Selection> getFlist() {
		return flist;
	}
	public void setFlist(List<Selection> flist) {
		this.flist = flist;
	}
	public List<Selection> getClist() {
		return clist;
	}
	public void setClist(List<Selection> clist) {
		this.clist = clist;
	}
	public List<Selection> getPlist() {
		return plist;
	}
	public void setPlist(List<Selection> plist) {
		this.plist = plist;
	}
	public Langmodel getLangmodel() {
		return langmodel;
	}
	public void setLangmodel(Langmodel langmodel) {
		this.langmodel = langmodel;
	}
	public List<Content> getMorecontact() {
		if(this.morecontact==null)
		{
			this.morecontact=new ArrayList<Content>();
			this.morecontact.add(new Content());
		}
		if(this.morecontact.size()<1)
		{
			this.morecontact.add(new Content());
		}
		return morecontact;
	}
	public void setMorecontact(List<Content> morecontact) {
		this.morecontact = morecontact;
	}
}
